import {initMixin} from './init'
import { initLifeCycle } from './lifecycle'
import { nextTick } from './observe/watcher'
import { initGlobalAPI } from "./gloablAPI";
//将所有数据耦合在一起
function Vue(options){ // options就是用户的选项
    this._init(options)

}
Vue.prototype.$nextTick = nextTick
initMixin(Vue)
initLifeCycle(Vue)
initGlobalAPI(Vue)

export default Vue